import request from '@/utils/request';

export async function getInspectionMasterValueByPage (params: any) {
    return request('/api/quality/getInspectionMasterValueByPage', {
    method: 'POST',
    data: params,
  });
}



export async function addInspectionMasterValue (params: any) {
    return request('/api/quality/addInspectionMasterValue', {
    method: 'POST',
    data: params,
  });
}

export async function updateInspectionMasterValue (params: any) {
    return request('/api/quality/updateInspectionMasterValue', {
    method: 'POST',
    data: params,
  });
}

export async function delInspectionMasterValue (params: any) {
    return request('/api/quality/delInspectionMasterValue', {
    method: 'POST',
    data: params,
  });
}


export async function exportInspectionMasterValue(params: any) {
    return request('/api/quality/exportInspectionMasterValue', {
    method: 'POST',
    data: params,
    responseType: 'blob',
  });
}
export default { getInspectionMasterValueByPage, addInspectionMasterValue, updateInspectionMasterValue, delInspectionMasterValue, exportInspectionMasterValue }
